package com.itheima.common.exception;


import com.itheima.blog.util.constants.ErrorInfo;
import lombok.Data;

@Data
public class BlogException extends RuntimeException{

    private Integer status;

    public BlogException(String message) {
        super(message);
        this.status = ErrorInfo.Code.FAILED;
    }

}
